import React from 'react';
import createFragment from 'react-addons-create-fragment';

// export default ({list}) => (
//   <ul>
//     {
//       list.map(item => (
//         <li key={item.sid}>{item.name}</li>
//       ))
//     }
//   </ul>
// );

export default ({first, second}) => {
  const children = createFragment({
    first: first,
    second: second
  });

  return (
    <ul>
      {children}
    </ul>
  )
};
